package com.example.casper.jnuexperiment2025;

import java.io.Serializable;

public class Book implements Serializable {
    private static final long serialVersionUID = 1L;
    
    private int coverResourceId;
    private String title;
    private String price;

    public Book(String title, int coverResourceId) {
        this.title = title;
        this.coverResourceId = coverResourceId;
    }
    
    public Book(String title, String price, int coverResourceId) {
        this.title = title;
        this.price = price;
        this.coverResourceId = coverResourceId;
    }

    public int getCoverResourceId() {
        return coverResourceId;
    }

    public String getTitle() {
        return title;
    }
    
    public String getPrice() {
        return price;
    }
    
    public void setPrice(String price) {
        this.price = price;
    }
}